package com.woniu.car.param;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author chestnuts tlx
 * @create 2021/6/28 10:19
 */
@Data
public class GoodsCommentInsterParam {
    /**
     * 订单id
     */
    @NotNull
    @Min(value = 1, message = "订单id不能为空")
    private Integer orderId;



    @NotNull(message = "用户id不能为空")
    private String userId;

    /**
     * 评论内容
     */
    @NotNull(message = "评论内容不能为空")
    private String commentInfo;

    /**
     * 服务评分
     */
    @NotNull(message = "服务评分不能为空")
    private Double commentScore;
}
